﻿<%@ Page Title="" Language="C#" MasterPageFile="~/views/admin/AdminMaster.master" AutoEventWireup="true" CodeFile="Products.aspx.cs" Inherits="views_admin_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style>
    /* 导入一个名为 Pacifico 的字体 */
    @import url('https://fonts.googleapis.com/css?family=Pacifico');
    
    .top-text {
        font-family: 'Pacifico', cursive;
        color:white;
        font-size: 100px;       
        text-align: center;
    }
    #myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
.modal-content, #caption {    
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform: scale(0)} 
    to {-webkit-transform: scale(1)}
}

@keyframes zoom {
    from {transform: scale(0.1)} 
    to {transform: scale(1)}
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}
.card {
          background-color: transparent; /* 设置背景色为透明 */
          color: white; /* 设置字体颜色为白色 */
        }
        .repeater {
             display: flex; /* 设置为弹性盒子布局 */
            flex-wrap: wrap; /* 设置为自动换行 */
        }
        .zoom {
          width: 400px; /* 设置div的宽度 */
          height: 300px; /* 设置div的高度 */
          border: 2px solid black; /* 设置div的边框 */
          box-shadow: 0 0 10px gray; /* 设置div的阴影 */
          background-color:transparent; /* 设置div的背景色 */
          color: white;
          transition: transform 0.5s; /* 设置动画的持续时间为0.5秒 */
          margin: 20px; /* 设置div.zoom的外边距为10像素 */
          text-decoration:none;
        }

        .zoom:hover {
          transform: scale(1.2); /* 设置放大的比例为1.2倍 */
          box-shadow: 0 0 20px gray; /* 设置div的阴影 */
        }
</style>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MyContent" Runat="Server">
    <div class="container-fluid">
       <div class="row">
           <div class="col">
               <h3 class="text-center" style="color: white">首页</h3>

                <div class="top-text">
               欢迎来到用户首页！
           </div>
           </div>
           <div class="mt-3 d-grid">
                    <a href="../customer/Change2.aspx" style="color:white;margin: auto;">修改密码</a>                               
              </div>
           <div class="mt-3 d-grid">
                    <a href="../Login.aspx" style="color:white;margin: auto;">返回登录</a>                               
              </div>
          
   </div>
</asp:Content>

